#include <boost/algorithm/string/split.hpp>
 #include <boost/algorithm/string/classification.hpp>
#include <vector>
#include <string>
#include <iostream>

int main()
{
    std::vector<std::string> strs;
    boost::split(strs, "string to split", boost::is_any_of("\t "));

    for(int i=0; i<strs.size(); i++)
        std::cout << strs[i] << std::endl;
}
